vcRaycastResult

vcRaycastResult contains the result of a raycast operation.

See in: Overview

Module: vcCore

Parent: -

Children -

Referenced by: vcRaycast.raycastList(), vcRaycast.raycastScene()

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
HitBooleanRGets a Boolean value which is true when the ray intersects a node, otherwise false.
IndexIntegerRGets the index of the triangle hit by the ray.
NodevcNodeRGets the vcNode object hit by the ray.
PositionvcMatrixRGets the location where the ray hit as a vcMatrix object. The Z-axis is parallel with the normal of the surface hit by the ray.
SetvcGeometrySetRGets the vcGeometrySet object hit by the ray.